package view.WelcomePanels;

import domain.WelcomeController;
import dto.WelcomeDTO;
import view.WelcomeFrame;
import view.WelcomePanels.SubPanels.BackButtonPanel;
import view.WelcomePanels.SubPanels.MainButtonPanels.ResetPasswordButtonPanel;
import view.WelcomePanels.SubPanels.FormPanels.ResetPasswordFormPanel;

/**
 *
 * @author Joachim
 */
public class ResetPasswordPanel extends AbstractWelcomePanel {
    
    public ResetPasswordPanel(WelcomeDTO dto, WelcomeController controller, WelcomeFrame frame) {
        super(dto, controller, frame);
    }

    @Override
    protected void initComponents() {
        super.pnlWest = new BackButtonPanel(frame);        
        super.pnlCenter = new ResetPasswordFormPanel(dto, controller);
        super.pnlSouth = new ResetPasswordButtonPanel(dto, controller);
    }
    
}
